package com.jy.modules.cims.common.open.api.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractLogger implements JieYueLogger {
	private Logger log;

	public AbstractLogger(Class<?> c) {
		this.log = LoggerFactory.getLogger(c);
	}

	public void error(Exception e) {
		error("", e);
	}

	public void error(String info, Exception e) {
		this.log.error(info, e);
	}

	public void info(String info) {
		this.log.info(info);
	}

	public void debug(String info) {
		this.log.debug(info);
	}
}
